//
//  DSZTopicTableCell.m
//  7.13苏宁框架
//
//  Created by app01 on 15/7/18.
//  Copyright (c) 2015年 lovena. All rights reserved.
//

#import "TopicTableCell.h"
#import "TopicModel.h"
#import "Common.h"


@implementation TopicTableCell



-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    
    if (self) {
        self = [[NSBundle mainBundle]loadNibNamed:@"TopicTableCell" owner:self options:nil][0];
        
    }
    return  self;
}



-(void)layoutSubviews{
    
    [super layoutSubviews];
    
   
    [_image setImageWithURL:[NSURL URLWithString:_topicModel.icon]];
    _topic.text = _topicModel.title;
    _zan.text = _topicModel.zan;
    _attend.text = _topicModel.attend;
    
}


@end
